/*基本css*/
* {
    margin: 0;
    padding: 0;
    /*设置内减模式，盒子不会被改变大小*/
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font: 17px/28px 'Microsoft YaHei';
    background: url("../images/background1.jpg") no-repeat center center/cover fixed;
}

a {
    display: block;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    background-color: #555;
    color: white;
}

/*整体布局*/
.login_main {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*头部css*/
.main_head {
    height: 60px;
    /*#808080 是16进制，这里是十进制*/
    background: rgba(128, 128, 128, 0.8);
    display: flex;
    justify-content: space-between;
}

.main_head_logo {
    padding: 10px 0 0 10px;
}

.main_head_name {
    line-height: 60px;
}

/*主体css*/
.main_body {
    /*版心居中，要求盒子要有宽度，否则他不能进行计算*/
    margin: 0 auto;
    width: 60%;
    height: 500px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    /*内容居中*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main_body_div {
    display: flex;
    justify-content: center;
    text-align: center;
}

.main_body_div_form {
    width: 450px;
    height: 300px;
    /*background-color: gray;*/
    padding: 0;
    margin: 0;
    /*里面的table居中*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main_body_div_form table {
    align-self: center;
}

.main_body_div_form table tr {
    height: 50px;
}

.main_body_div_form_table_tr_left {
    text-align: right;
}

.main_body_div_form_table_tr_right {
    text-align: left;
}

.main_body_div_form_table_tr_right input {
    width: 250px;
    height: 35px;
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #a6a6a6;
    font-size: 16px;
}

#login_checkCode {
    width: 200px;
}

#img_checkCode {
    display: inline-block;
    width: 90px;
    height: 45px;
    cursor: pointer;
    border-radius: 5px;
}

.main_body_div_form table tr:nth-last-child(2) {
    text-align: center;
    height: 60px;
}

.main_body_div_form table tr:nth-last-child(1) {
    text-align: center;
    height: 30px;
}

.main_body_div_form table tr:nth-last-child(1) input {
    text-align: center;
    width: 20%;
    background-color: #4CAF50;
    color: white;
    padding: 2px 4px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.alert {
    display: none;
    padding: 0;
    width: 60%;
    height: 40px;
    line-height: 40px;
    margin-top: 10px;
}


.main_body_div_image {
    background: pink; /*url("../images")*/

    align-self: center;
    width: 200px;
    height: 200px;
}

/*尾部css*/
.main_tail {
    height: 50px;
    background: rgba(128, 128, 128, 0.8);
    text-align: center;
    line-height: 50px;
    font-size: 12px;
    color: #413d3d;
}
